home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3515 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: felix.teclink.net!usenet
  2. From: rad@teclink.net (rad)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Free Cycles
  5. Date: 21 Feb 1996 04:59:39 GMT
  6. Organization: TECLink Internet Services: info@TECLink.Net
  7. Message-ID: <1139.6624T1309T1361@teclink.net>
  8. References: <1996Feb15.170809.6386@imada.ou.dk>
  9. NNTP-Posting-Host: tc2_23.teclink.net
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  11.  
  12.  
  13. Bjorn Reese <breese@imada.ou.dk> wrote:
  14. >tim bscke (azure@people-x.people.de) wrote:
  15. >>         move.l (fast)+,(chip)+          ;18 cylces
  16. >>         clr.l   (chip)+                 ;24(!!!) cycles
  17. >[...]
  18. >>     Why ?? This seems to be really strange to me.. esp. the clr.l..
  19.  
  20. >If my memory haven't betrayed me, clr reads the destination before
  21. >clearing it. So a clr makes two chip accesses. This behaviour is
  22. >also the reason why you should never use clr to clear a write-only
  23. >register.
  24.  
  25. You are correct for the 68000.  This is a good reason to stick with the 68010+
  26. (if not the 68020+) where the clr instruction doesn't have this drawback.
  27. Considering that the 68000's are only used in unaccelerated 500s, 600s and
  28. 2000s I don't think that's really problem.
  29.  
  30. --------------------------------------------------------------------------
  31. - Richard Deken                   E-Mail: (personal)     rad@teclink.net -
  32. - VLSI design engineer                    (AuE business) rad@aue.com     -
  33. - Advanced Microelectronics       PGP public key available               -
  34. --------------------------------------------------------------------------
  35.  
  36.